SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 53131: An exception might be generated when you attempt to move a vehicle to a model vehicle in a promotion from the Promotion List view

DetailsHotfixAboutRate It

In SAS® Promotion Optimization, the following exception might occur when you attempt to move a vehicle to a model vehicle in a promotion from the Promotion List view:

FATAL Worker-15 java.lang.StackTraceElement - ERROR: Vehicle(INSIDE PAGE): Need to initialize SpotsAllocation first!
com.sas.solutions.di.server.rpp.api.NamedScopedValue$UninitializedException: ERROR: Vehicle(INSIDE PAGE): Need to initialize SpotsAllocation first!
	at com.sas.solutions.di.server.rpp.api.NamedScopedValue.validateInit(NamedScopedValue.java:922)
	at com.sas.solutions.di.server.rpp.api.VehicleBase.getSpotAllocations(VehicleBase.java:511)
	at com.sas.solutions.di.server.rpp.api.VehicleBase.getSpotAllocatedCount(VehicleBase.java:220)
	at com.sas.solutions.di.server.rpp.api.VehicleBase.isSpotCountAllocationChanged(VehicleBase.java:204)
	at com.sas.solutions.di.server.rpp.util.VehicleBaseImpl.save(VehicleBaseImpl.java:100)
	at com.sas.solutions.di.server.rpp.VehicleImpl.save(VehicleImpl.java:186)
	at com.sas.solutions.di.server.rpp.NamedScopedValueImpl.save(NamedScopedValueImpl.java:1088)
	at com.sas.solutions.di.server.rpp.VehicleImpl.ensurePersonalVehiclesPersisted(VehicleImpl.java:710)
	at com.sas.solutions.di.server.rpp.VehicleImpl.updatePlanVehicles(VehicleImpl.java:467)
	at com.sas.solutions.di.server.rpp.PromotionPlanImpl.setVehicleSelections(PromotionPlanImpl.java:7791)
	at com.sas.solutions.di.server.rpp.RPPServiceImpl.movePlanVehicleSelection(RPPServiceImpl.java:1268)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
	at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:77)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at $Proxy1367.movePlanVehicleSelection(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:205)
	at org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:38)
	at com.sas.solutions.di.server.spring.SessionRemoteInvocationExecutor.invokeSuper(SessionRemoteInvocationExecutor.java:69)
	at com.sas.solutions.di.server.spring.SpringServer$SpringPrivateInvoker.privateInvoke(SpringServer.java:145)
	at com.sas.solutions.di.server.util.Interceptors.privateInvoke(Interceptors.java:167)
	at com.sas.solutions.di.server.spring.SpringServer.invoke(SpringServer.java:170)
	at com.sas.solutions.di.server.spring.SessionRemoteInvocationExecutor.invoke(SessionRemoteInvocationExecutor.java:46)
	at org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:78)
	at org.springframework.remoting.support.RemoteInvocationBasedExporter.invokeAndCreateResult(RemoteInvocationBasedExporter.java:114)
	at org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.handleRequest(HttpInvokerServiceExporter.java:73)
	at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:49)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
...

The exception is generated after you perform the following steps:

  1. Create a promotion and add a vehicle.
  2. In Promotion List view, select the promotion and choose Move Vehicles.
  3. Select a model vehicle in the Move Promotion Vehicles dialog box.
  4. Click OK.

There is no workaround for this issue.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Promotion OptimizationLinux for x645.2_M45.49.3 TS1M29.4 TS1M3
Microsoft® Windows® for x645.2_M45.49.3 TS1M29.4 TS1M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.